package example

import (
	"gorm.io/gorm"
	"gorm.io/gorm/clause"
	"gorm.io/gorm/schema"
)

type Driver struct{}

func (d *Driver) Name() string {
	return "example"
}

func (d *Driver) Initialize(*gorm.DB) error {
	return nil
}

func (d *Driver) Migrator(db *gorm.DB) gorm.Migrator {
	return db.Migrator()
}

func (d *Driver) DataTypeOf(*schema.Field) string {
	return ""
}

func (d *Driver) DefaultValueOf(f *schema.Field) clause.Expression {
	return nil
}

func (d *Driver) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) {

}

func (d *Driver) QuoteTo(clause.Writer, string) {

}

func (d *Driver) Explain(sql string, vars ...interface{}) string {
	return ""
}
